//
//  BusinessService+FJ.h
//  SelfDriving
//
//  Created by apple on 16/2/24.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "BusinessService.h"

@interface BusinessService(FJ)
/**
 *  获取广告
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getADlist:(NSMutableDictionary*)parameters
          success:(void(^)(id result))success
          failure:(void(^)(id result))failure;

/**
 *  获取附近动态
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getdynamic_nearby:(NSMutableDictionary*)parameters
          success:(void(^)(id result))success
          failure:(void(^)(id result))failure;

/**
 *  获取好友动态
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getdynamic_friend:(NSMutableDictionary*)parameters
                  success:(void(^)(id result))success
                  failure:(void(^)(id result))failure;
/**
 *  获取动态详情
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getdynamic_detail:(NSMutableDictionary*)parameters
                  success:(void(^)(id result))success
                  failure:(void(^)(id result))failure;


/**
 *  发布动态
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)publish_dynamic:(NSMutableDictionary*)parameters
                  success:(void(^)(id result))success
                  failure:(void(^)(id result))failure;

/**
 *  添加回复
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)addreply:(NSMutableDictionary*)parameters
                success:(void(^)(id result))success
                failure:(void(^)(id result))failure;
/**
 *  赞
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)praise:(NSMutableDictionary*)parameters
         success:(void(^)(id result))success
         failure:(void(^)(id result))failure;
/**
 *  获取相册
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getalbum_list:(NSMutableDictionary*)parameters
       success:(void(^)(id result))success
       failure:(void(^)(id result))failure;
/**
 *  获取他人动态
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)getdynamic_list:(NSMutableDictionary*)parameters
              success:(void(^)(id result))success
              failure:(void(^)(id result))failure;
/**
 *  动态广告
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)dtaiguangg:(NSMutableDictionary*)parameters
                success:(void(^)(id result))success
                failure:(void(^)(id result))failure;

/**
 *  附近
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)nearby:(NSMutableDictionary*)parameters
           success:(void(^)(id result))success
           failure:(void(^)(id result))failure;

/**
 *  现场快拍
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_list:(NSMutableDictionary*)parameters
       success:(void(^)(id result))success
       failure:(void(^)(id result))failure;


/**
 *  好友列表
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)friendlist:(NSMutableDictionary*)parameters
             success:(void(^)(id result))success
             failure:(void(^)(id result))failure;


/**
 *  我的粉丝/关注
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)myfollow:(NSMutableDictionary*)parameters
           success:(void(^)(id result))success
           failure:(void(^)(id result))failure;


/**
 *  创建群聊
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)addqunliao:(NSMutableDictionary*)parameters
         success:(void(^)(id result))success
         failure:(void(^)(id result))failure;


/**
 *  进入群
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)enterGroup:(NSMutableDictionary*)parameters
           success:(void(^)(id result))success
           failure:(void(^)(id result))failure;

/**
 *  快拍详细
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_detail:(NSMutableDictionary*)parameters
           success:(void(^)(id result))success
           failure:(void(^)(id result))failure;

/**
 *  快拍删除
 *
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
-(void)kuaipai_delete:(NSMutableDictionary *)parameters success:(void (^)(id result))success failure:(void (^)(id result))failure;

/**
 *  获取最新用户头像
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)lastUserHeads:(NSMutableDictionary*)parameters
               success:(void(^)(id result))success
               failure:(void(^)(id result))failure;

/**
 *  快拍赞
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_zan:(NSMutableDictionary*)parameters
              success:(void(^)(id result))success
              failure:(void(^)(id result))failure;
/**
 *  管理员发起自动加入语音会议
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_automeeting:(NSMutableDictionary*)parameters
            success:(void(^)(id result))success
            failure:(void(^)(id result))failure;
/**
 *  直播结束（主要清空群里面的直播号，以免后面进群人还以为有直播）
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_endMeeting:(NSMutableDictionary*)parameters
                    success:(void(^)(id result))success
                    failure:(void(^)(id result))failure;
/**
 管理员快拍设置
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)kuaipai_admin_setting:(NSMutableDictionary*)parameters
                   success:(void(^)(id result))success
                   failure:(void(^)(id result))failure;
/**
 附近的人
 *  @param parameters 参数
 *  @param success    成功
 *  @param failure    失败
 */
- (void)changjing_nearby_persons:(NSMutableDictionary*)parameters
                      success:(void(^)(id result))success
                      failure:(void(^)(id result))failure;

-(void)getdynamic_unreadnum:(NSMutableDictionary *)parameters success:(void (^)(id))success failure:(void (^)(id))failure;
@end
